{extend name="index/index" /}
{block name="main"}
<!-- Start of Page Container -->
<style>
    .post-title{
        color: #0D4667;
    }

    .post-meta H3{
        color: #FFF;
    }

    .post-meta input{
        color: #555555;
    }
</style>
<div class="page-container" style="background-color: #195F88;height: 3000px; width: 100%;">
    <div class="container" style="background-color: #619EC2;height: 3000px; width: 60%;margin: 0px auto;">
        <div class="row">
            <!-- start of page content -->
                <div class="span8 main-listing">
                    <article class="format-standard type-post hentry clearfix">
                        <header class="clearfix">

                            <h3 class="post-title">
                                    编辑个人信息<br><br>
                            </h3>
                    <form id="edit-form" class="row" action="{:url('index/login/doEditInfo')}" method="post" style="margin-left: 15px">
                        <header class="clearfix">
                            <div class="post-meta clearfix">
                                <span class="category"><h3>年龄</h3></span>
                                <input type="number" name="age" id="age" value="{$data['age']}" class="input-xlarge">
                            </div><!-- end of post meta -->
                        </header>

                        <header class="clearfix">
                            <div class="post-meta clearfix">
                                <span class="category"><h3>性别</h3></span>
                                <select name="sex">
                                    <option value="1" {:$data['sex']==1?'selected':''}>男</option>
                                    <option value="0" {:$data['sex']==0?'selected':''}>女</option>
                                </select>
                            </div><!-- end of post meta -->
                        </header>

                        <header class="clearfix">
                            <div class="post-meta clearfix">
                                <span class="category"><h3>生日</h3></span>
                                <input type="date" name="birthday" id="birthday" value="{$data['birthday']}" class="input-xlarge">
                            </div><!-- end of post meta -->
                        </header>

                        <header class="clearfix">
                            <div class="post-meta clearfix">
                                <span class="category"><h3>省份</h3></span>
                                <input type="text" name="province" id="province" value="{$data['province']}" class="input-xlarge">
                            </div><!-- end of post meta -->
                        </header>

                        <header class="clearfix">
                            <div class="post-meta clearfix">
                                <span class="category"><h3>婚否</h3></span>
                                <select name="is_marry">
                                    <option value="1" {:$data['is_marry']==1?'selected':''}>已婚</option>
                                    <option value="0" {:$data['is_marry']==0?'selected':''}>未婚</option>
                                </select>
                            </div><!-- end of post meta -->
                        </header>

                        <div class="span6 offset2 bm30">
                        <br><br>
                        <input type="submit" name="submit" class="btn btn-inverse">
                        <img src="{$IMG_PATH}loading.gif" id="contact-loader" alt="Loading...">
                        </div>
                    </form>
                    </article>



                </div>
                <!-- end of page content -->
        </div>
    </div>
</div>
<!-- End of Page Container -->
{/block}